function [Output] = makeMat(n,a,b,c)
    % This function makes LHS Matrix 
    Output = zeros(n,n);
    for i = 1:(n+1):(n^2)
        Output(i) = b;
    end
    for i = 2:(n+1):(n^2)
        Output(i) = a;
    end
    for i = (n+1):(n+1):(n^2)
        Output(i) = c;
    end
end